﻿namespace EyeOpen.TimeAssistant.Client.Wcf
{
    using System;
    using System.ServiceModel;

    [ServiceContract]
    public interface IAuthenticationService
    {
        [OperationContract(AsyncPattern = true)]
        IAsyncResult BeginAuthenticateUser(string username, string password, AsyncCallback callback, object asyncState);

        bool EndAuthenticateUser(IAsyncResult result);
    }
}